<?
include_once "gblinclude.lib";

global $gblDBConnect;

$userId = UnregisterID($_GET["ID"]);

$sql = "UPDATE tb_user SET login_password='' WHERE user_id=".$userId;
try
{
	$gblDBConnect->execute($sql);
	echo json_encode(1);
}
catch(PDOException $ex)
{
	echo json_encode(0);
}

?>
